Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Introduce consensus code for Whisk (SSLE) #2800

Closed
wants to merge 16 commits into from

Conversation

asn-d6
Copy link
Contributor

@asn-d6 asn-d6 commented Jan 12, 2022

Ethresearch post: https://ethresear.ch/t/whisk-a-practical-shuffle-based-ssle-protocol-for-ethereum/11763

Opening this PR as a place for comments and reviews on Whisk (the SSLE protocol)

Please add the "DO NOT MERGE" label.

@asn-d6 asn-d6 force-pushed the whisk_ethresearch branch from 2d7673d to c633339 Compare January 13, 2022 13:28
@JustinDrake
Copy link
Contributor

JustinDrake commented Jan 14, 2022

Heads up: currently revamping/polishing/simplifying the document :)

edit: done!

JustinDrake and others added 8 commits February 2, 2022 17:28
This PR changes the Whisk tracker format to be of the form `(r * pubkey, r * BLS_GT_GENERATOR)` instead of `(r * k * BLS_G1_GENERATOR, r * BLS_G1_GENERATOR)`. This allows for non-interactive tracker registrations from validator pubkeys, removing ~50 lines the code. It also significantly reduces the amount of state overhead. This PR also removes permutation commitments, though those can be easily readded if deemed necessary.
@asn-d6: Readded a consistency check for `IsValidWhiskOpeningProof` (involving `pubkey` instead of `k_commitment`).
This needs its own ethresearch post, and some additional analysis to see if we can do the shuffle ZKP in the allowed
timeframe.

This reverts commit 8517aca.
Ditch the Feistel logic and instead have each shuffler pick the row they shuffle using their RANDAO reveal.
@asn-d6
Copy link
Contributor Author

asn-d6 commented Jan 17, 2023

Closing this PR in favor of #3205 which is rebased to latest dev and is executable.

@asn-d6 asn-d6 closed this Jan 17, 2023
@hydrogenbond007
Copy link

Loved the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants